<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>北京时间</title>
<!--
<script type="text/javascript" src="http://shmshz.googlecode.com/svn/trunk/assets/js/build/jquery-1.3.2.min.js 
"></script> 
<script type="text/javascript" src="http://shmshz.googlecode.com/svn/trunk/assets/js/build/jquery.fonts.js"></script>
-->
<style>
@font-face {
    font-family: 'BDZongYiA001FZZongYiM05SArial';
    src: url('bdzyjt-webfont.eot');
    src: url('bdzyjt-webfont.eot?#iefix') format('embedded-opentype'),
         url('bdzyjt-webfont.woff') format('woff'),
         url('bdzyjt-webfont.ttf') format('truetype'),
         url('bdzyjt-webfont.svg#BDZongYiA001FZZongYiM05SArial') format('svg');
    font-weight: normal;
    font-style: normal;
}

/*
@font-face {
    font-family: 'hooray';
    src: url('hooray.eot');
    src: url('hooray.eot?#iefix') format('eot'),
         url('hooray.ttf') format('truetype'),
         url('hooray.woff') format('woff'),
         url('hooray.svg#webfontjKg17VrE') format('svg');
}
*/
@font-face{font-family: 'hooray';src: url('hooray.eot');src: url('hooray.eot?#iefix') format('eot'),url('hooray.ttf') format('truetype'),url('hooray.woff') format('woff'),url('hooray.svg#webfontjKg17VrE') format('svg');}

@font-face{font-family: 'Shmshz+hooray';src: url('hooray.eot');src: url('hooray.eot?#iefix') format('eot'),url('http://127.0.0.1/htdocs/hooray.ttf') format('truetype');}
@font-face{font-family: 'Shmshz+百度综艺简体';src: url('http://shmshz.googlecode.com/svn/trunk/assets/font/build/bdzyjt.eot');src: url('http://shmshz.googlecode.com/svn/trunk/assets/font/build/bdzyjt.eot?#iefix') format('eot'),url('http://shmshz.googlecode.com/svn/trunk/assets/font/build/bdzyjt.ttf') format('truetype');}

body{
	font-family:'BDZongYiA001FZZongYiM05SArial';
	font-size:24px;
}
</style>
<script type="text/javascript">
/*.eot + .ttf /.otf + svg + woff */
$(document).ready(function(){
	$.LoadFont("hooray");
//	$("#onload").html('<span style="font:80px \'Shmshz 百度综艺简体\'">字体测试中文</span><br />');
});
</script>
anbcghdhb
<script language=javascript>
var t0=new Date();
nyear=t0.getFullYear();
nmonth=t0.getMonth();
nday=t0.getDate();
nwday=t0.getDay();
nhrs=t0.getHours();
nmin=t0.getMinutes();
nsec=t0.getSeconds();
s=document.URL;pos=s.indexOf("#");
fstyle=decodeURI(s.substring(pos+1,s.length));

var hzWeek = new Array("日", "一", "二", "三", "四", "五", "六", "日");
nextday = false;
function cweekday(wday) {
    return hzWeek[wday];
}
function shapetime(vhrs, vmin, vsec) {
    if (vsec <= 9) vsec = "0" + vsec;
    if (vmin <= 9) vmin = "0" + vmin;
    if (vhrs < 0) vhrs = vhrs - vhrs - vhrs;
    if (vhrs <= 9 && vhrs >= 0) vhrs = "0" + vhrs;
    return vhrs + ":" + vmin + ":" + vsec
}
last0 = t0;
function NewTick() {
    noww = new Date();
    t1 = noww.getTime();
    if (t1 < last0 || ((t1 - last0) > 45000 && last0 != t0)) {
        t1 = last0 + 500;
    }
    last0 = t1;
    noww.setTime(t1 + dectime);
    if (noww.getDate() != nday) {
        nyear = noww.getFullYear();
        nmonth = noww.getMonth() + 1;
        nwday = noww.getDay();
        nday = noww.getDate();
        nextday = true;
    }
    nhrs = noww.getHours();
    nmin = noww.getMinutes();
    nsec = noww.getSeconds();

}
function gettimestr() {
    return nyear + '年' + nmonth + '月' + nday + '日' + '星期' + cweekday(nwday) + "<br>" + shapetime(nhrs, nmin, nsec);
}
dectime = new Date(nyear, nmonth - 1, nday, nhrs, nmin, nsec).getTime() - t0;
</script>
</head>
<body>
<p id="clock"></p>
<p id="mg"></p>
<p id="rb"></p>
<p id="yg"></p>
<p id="ad"></p>
<script language="Javascript">
function Draw(){
NewTick();
s=nyear+'年'+(nmonth+1)+'月'+nday+'日 '+'星期'+cweekday(nwday)+' ';
document.getElementById("clock").innerHTML=s+shapetime(nhrs,nmin,nsec);
document.getElementById("yg").innerHTML="英国 "+shapetime(nhrs-6,nmin,nsec);
document.getElementById("mg").innerHTML="美国 "+shapetime(nhrs-13,nmin,nsec);
document.getElementById("rb").innerHTML="日本 "+shapetime(nhrs+1,nmin,nsec);
document.getElementById("ad").innerHTML="澳大利亚 "+shapetime(nhrs+3,nmin,nsec);
setTimeout("Draw()",500);
}
Draw();
</script>
</body>
</html>